//
//  XHBBaseTabBarController.h
//  iOS Object
//
//  Created by 保密 on 2019/6/26.
//  Copyright © 2019年 XiaoHaiBao. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "XHBTabBar.h"

NS_ASSUME_NONNULL_BEGIN
@protocol XHBBaseTabBarControllerDelegate <UITabBarControllerDelegate>

@optional
// 重写了选中方法，主要处理中间item选中事件
- (void)tabBarController:(UITabBarController *)tabBarController didSelectViewController:(UIViewController *)viewController;

@end

@interface XHBBaseTabBarController : UITabBarController

@property (nonatomic, weak) id<XHBBaseTabBarControllerDelegate> xhb_delegate;

@property (nonatomic, strong) XHBTabBar *tabbar;

@end

NS_ASSUME_NONNULL_END
